package com.ruoyi.system.domain.qo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品活动管理对象 goods
 *
 * @author ruoyi
 * @date 2022-11-02
 */
public class ActivityGoodsQo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private Integer id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 活动id 0无活动,1 大促,2 秒杀  */
    @Excel(name = "活动id")
    private Integer activeId;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String img;

    /** 商品原价 */
    @Excel(name = "商品原价")
    private Integer price;


    /** 秒杀价 */
    @Excel(name = "秒杀价")
    private String seckillPrice;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getActiveId() {
        return activeId;
    }

    public void setActiveId(Integer activeId) {
        this.activeId = activeId;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public String getSeckillPrice() {
        return seckillPrice;
    }

    public void setSeckillPrice(String seckillPrice) {
        this.seckillPrice = seckillPrice;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("title", getTitle())
                .append("price", getPrice())
                .append("activeId", getActiveId())
                .append("img", getImg())
                .append("seckillPrice",getSeckillPrice())
                .toString();
    }
}
